package exceptexample;

public class ClassCast {
    public static void main(String[] args) {
        ClassCast classCast = new ClassCast();

        Object object = (Object) classCast;

        Object o = new Object();
        ClassCast c = (ClassCast) o;
        
    }
}
